VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools Namespace / WpfVisualTool Class / FindVisualTool<T>(WpfVisualTool) Method
Syntax Requirements SeeAlso
In This Topic
    FindVisualTool<T>(WpfVisualTool) Method (WpfVisualTool)
    In This Topic
    Finds the specified visual tool of specified type in visual tool.
    Syntax
    'Declaration
    
    Public Shared Function FindVisualTool<T
    The visual tool type to find.
    >( _
    ByVal visualTool
    The visual tool, where visual tool of specified type must be searched.
    As WpfVisualTool _
    ) As T (Of T
    The visual tool type to find.
    As WpfVisualTool)
    public static T FindVisualTool<T>(
    WpfVisualTool visualTool
    ) where T: WpfVisualTool
    public: static T* FindVisualTool<T>(
    WpfVisualTool* visualTool
    ) where T: WpfVisualTool*
    generic<typename T>
    public:
    static T^ FindVisualTool(
    WpfVisualTool^ visualTool
    ) where T: WpfVisualTool^

    Parameters

    visualTool
    The visual tool, where visual tool of specified type must be searched.

    Type Parameters

    T
    The visual tool type to find.

    Return Value

    The visual tool of specified type if visual tool is found; otherwise, null.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also